package cn.iocoder.yudao.module.bpm.controller.admin.tohandle.collect.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 审批流——我的收藏分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BpmHandleCollectPageReqVO extends PageParam {

    @Schema(description = "bpm_handle_flow表的自增id", example = "27449")
    private Long bpmHandleFlowId;

    @Schema(description = "bpm_handle_task表的自增id", example = "21276")
    private Long bpmHandleTaskId;

    @Schema(description = "收藏者的用户帐号", example = "赵仙")
    private String username;

    @Schema(description = "创建者")
    private String creator;

    @Schema(description = "更新者")
    private String updater;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] createTime;

    @Schema(description = "更新时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] updateTime;

    @Schema(description = "1 删除；0 有效", example = "1")
    private Boolean deleted;

}
